import Vue from 'vue'
import App from './App'



import uView from 'uview-ui'
Vue.use(uView)



import store from './store'

import home from './pages/home/home.vue'
Vue.component('home', home)

import api from '@/common/api/index.js'
Vue.prototype.$api = api;

import my from './pages/my/my.vue'
Vue.component('my', my)

import cuCustom from './colorui/components/cu-custom.vue'
Vue.component('cu-custom', cuCustom)

import * as fun from '@/common/lib/fun.js'
Vue.prototype.f = fun;




import cfg from '@/common/config.js'
Vue.prototype.$cfg = cfg;

Vue.config.productionTip = false
// import '@/common/lib/vue-seamless-scroll.min.js'
import '@/common/lib/router'

App.mpType = 'app'

const app = new Vue({
    store,
    ...App
})
app.$mount()
